/*
 * @Author: liaoyu1992 1519778181@qq.com
 * @Date: 2022-11-03 00:19:30
 * @LastEditors: liaoyu1992 1519778181@qq.com
 * @LastEditTime: 2022-11-09 16:02:14
 * @FilePath: \kgantt\core\index.ts
 * @Description: 导出组件
 */
import { App } from "vue";
import Milestone from "./components/taskitem/milestone/Milestone.vue";
import Project from "./components/taskitem/project/Project.vue";
import BarSmall from "./components/taskitem/bar/BarSmall.vue";
import Bar from "./components/taskitem/bar/Bar.vue";
import StandardTooltipContent from "./components/other/StandardTooltipContent.vue";
import TaskListHeaderDefault from "./components/tasklist/TaskListHeaderDefault.vue";
import TaskListTableDefault from "./components/tasklist/TaskListTableDefault.vue";
import Gantt from "./components/gantt/Gantt.vue";
import "./assets/index.css";
export { ViewMode } from "./types/publicTypes";
export type {
  AreaMode,
  StylingOption,
  DisplayOption,
  EventOption,
  ResourceArea,
  Resource,
  GanttProps,
  Task
} from "./types/publicTypes";
export { Gantt };
export default {
  install(app: App) {
    app.component("Milestone", Milestone);
    app.component("Project", Project);
    app.component("BarSmall", BarSmall);
    app.component("Bar", Bar);
    app.component("StandardTooltipContent", StandardTooltipContent);
    app.component("TaskListHeaderDefault", TaskListHeaderDefault);
    app.component("TaskListTableDefault", TaskListTableDefault);
    app.component("Gantt", Gantt);
  },
};